﻿using Hopscotch.Domain.Finance;
using System.Collections.Generic;
using System.ServiceModel;

namespace Hopscotch.Common.Contracts.AppService
{
	[ServiceContract]
	public interface ICurrencyInstrumentService : IDomainService<CurrencyInstrument, int>
	{
		[OperationContract]
		ICollection<CurrencyInstrument> GetAll();

		[OperationContract(Name="GetByCode")]
		CurrencyInstrument Get(string code);
	}
}
